import request from "@/utils/request";

export default {

    colorSave: (params: any): Promise<any> => request.post(`/aries/api/goods/colorSave`, params),
    colorList: (params: any) => request.get(`/aries/api/goods/colorList`, {
        params
    }),
    brandSave: (params: any): Promise<any> => request.post(`/aries/api/goods/brandSave`, params),
    brandList: (params: any) => request.get(`/aries/api/goods/brandList`, {
        params
    }),
    specSave: (params: any): Promise<any> => request.post(`/aries/api/goods/specSave`, params),
    specList: (params: any) => request.get(`/aries/api/goods/specList`, {
        params
    }),

}
